package com.java.design.decker;


/**
 * 被装饰类*
 * @author Tony
 */
public class Espresso extends Beverage{

    public Espresso(int size){
        description = "Espresso";
        this.size = size;
    }

    @Override
    public double cost() {
        return 1.99;
    }
}
